Skip to content

Doc for Text::maskValue()#8290

Merged
LordSimal merged 3 commits intocakephp:5.nextfrom
SadiHassan:maskValue-func-doc-v0
Apr 28, 2026
Merged

Doc for Text::maskValue()#8290
LordSimal merged 3 commits intocakephp:5.nextfrom
SadiHassan:maskValue-func-doc-v0

Conversation

@SadiHassan
Copy link
Copy Markdown

Summary

Adds documentation for the newly implemented Text::maskValue() method in Cake\Utility\Text, which allows masking of all occurrences of given substring(s) within a string using a repeated character.

Includes:

  • Explanation of the function
  • Examples demonstrating usage via TextHelper and static calls

Related: this PR.

This is how it looks in the function page:
image

This is how it looks in the migration guide:
image

@markstory markstory added this to the 5.next milestone Apr 27, 2026
Comment thread docs/en/core-libraries/text.md
Co-authored-by: Mark Story <mark@mark-story.com>
@LordSimal LordSimal merged commit 695cab0 into cakephp:5.next Apr 28, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants